RunMode

Syntax: @RunMode NumVar

The RunMode command returns a numeric value into the specified variable NumVar, that indicates which run time version is being executed.

Numvar = 0, standard Windows runtime (Xrclient.exe).

Numvar = 1, thin client runtime (ajax.html).

Numvar = 2, COM+ runtime server (GoXML method).

Numvar = 5, JavaScript (local file deployment using the Run menu, for testing purposes)

Numvar = 6, JavaScript (web server http or https deployment)

Numvar = 7, Mobile deployment

Numvar = 8, node.js deployment